<template>
  <div>
    <el-main>
      <p>通过配置指令显示页面按钮</p>
      <el-row>
        <el-col :span="4">
          <p>我是有权限显示的</p>
          <el-button type="primary" v-permission="'2'">权限按钮</el-button>
        </el-col>
        <el-col :span="4">
          <p>我是无权限显示的</p>
          <el-button type="primary" v-permission="'10'">无按钮</el-button>
        </el-col>
      </el-row>
    </el-main>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {}
};
</script>
